/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bsc.ejb.entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 *
 * @author memozac
 */
@Entity
public class Label extends Task implements Serializable {
    private static final long serialVersionUID = 1L;
    
    

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idTask != null ? idTask.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        if (!(object instanceof Label)) {
            return false;
        }
        Label other = (Label) object;
        if ((this.idTask == null && other.idTask != null) || (this.idTask != null && !this.idTask.equals(other.idTask))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "bsc.ejb.entity.Label[id=" + idTask + "]";
    }

}//ends of class
